package g.beny.framework;
import g.beny.framework.filter.SessionCheckFilter;
import g.beny.framework.web.MvcSetup;

import org.nutz.mvc.annotation.By;
import org.nutz.mvc.annotation.Encoding;
import org.nutz.mvc.annotation.Fail;
import org.nutz.mvc.annotation.Filters;
import org.nutz.mvc.annotation.IocBy;
import org.nutz.mvc.annotation.Localization;
import org.nutz.mvc.annotation.Modules;
import org.nutz.mvc.annotation.Ok;
import org.nutz.mvc.annotation.SetupBy;
import org.nutz.mvc.ioc.provider.ComboIocProvider;

/**
 *  MVC主模块项目入口
* @ClassName
*	MainAction
* @Description
*	TODO
* @author 
*	gson
* @date 
*	2012-7-29 下午3:25:53
*
 */
@SetupBy(value=MvcSetup.class)
@IocBy(type = ComboIocProvider.class, args = {
		"*org.nutz.ioc.loader.json.JsonLoader", "ioc/",
		"*org.nutz.ioc.loader.annotation.AnnotationIocLoader", "g.beny"})
@Encoding(input = "utf8", output = "utf8")
@Modules(scanPackage = true, packages={"g.beny.manage","g.beny.profession"})
@Localization(value="locale",defaultLocalizationKey="zh_CN")
@Ok("ioc:json")
@Fail("ioc:failView")
@Filters({@By(type=SessionCheckFilter.class)})
public class MainAction {

}